# Description: QT4 eklentisi, tüm QSystemTrayIcon'u StatusNotifierItems'e dönüştürür (appindicators)
# URL: https://launchpad.net/sni-qt
# Packager: milisarge
# Depends on: cmake libdbusmenu-qt  

name=sni-qt
version=0.2.6
release=1

source=(http://launchpad.net/sni-qt/trunk/$version/+download/sni-qt-$version.tar.bz2
        sni-qt.conf)

build() {
mkdir build

sed -i '/tests/ d' sni-qt-$version/CMakeLists.txt

cd build
cmake ../sni-qt-$version        \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
make
make DESTDIR=$PKG install

install -Dm644 $SRC/sni-qt.conf $PKG/etc/sni-qt.conf
}
